<?php

class Blocks_FrontController extends Zend_Controller_Action
{

    protected $_params;

    public function init()
    {
        parent::init();
        $this->_params = $this->_request->getParams();
    }

    public function breadcrumbAction()
    {
        // to do ...
    }

    public function topmenuAction()
    {
        // to do ...
    }
    
    public function leftmenuAction()
    {
        // to do ...
    }

    public function footerAction()
    {
        // to do ...
    }

    public function qprofileAction()
    {
        // to do ...
    }

    public function loginformAction()
    {
        $this->_form = new Blocks_Form_Login();
        $this->view->form = $this->_form;
    }
    
    public function qsearchAction()
    {
        // to do ...
    }
    
    public function advAction()
    {
        // to do ...
    }

    public function messageAction()
    {
        $this->view->messages = array_merge(
                $this->_helper->flashMessenger->getMessages(), $this->_helper->flashMessenger->getCurrentMessages()
        );
        $this->_helper->flashMessenger->clearCurrentMessages();
    }

}